#ifndef ITASK
#define ITASK

class ITask
{
public:
	ITask(unsigned int id) :m_nTaskId(id){};
	virtual ~ITask(){};

	virtual bool init() = 0;
	virtual bool run() = 0;
	virtual void uninit() = 0;

	unsigned int getTaskId(){return m_nTaskId;};
private:
	unsigned int m_nTaskId;
};

#endif